package io.github.talelin.latticy.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @authoer:wulongbo
 * @createDate:2022/8/1
 * @description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class StockBO {

    /**
     * 仓库代码
     */
    private String warehouseCode;

    /**
     * 客户代码
     */
    private String tenant;

    /**
     * 产品代码
     */
    private String sku;

    /**
     * 产品名称
     */
    private String skuName;

    /**
     * 在途
     */
    private Long onTheWay;

    private Date productTime;

    private Date updateTime;


    public StockBO(String warehouseCode, String tenant, String sku, String skuName, Long onTheWay, Date productTime) {
        this.warehouseCode = warehouseCode;
        this.tenant = tenant;
        this.sku = sku;
        this.skuName = skuName;
        this.onTheWay = onTheWay;
        this.productTime = productTime;
    }
}
